const router = require('express').Router()
const { getCommentList:MG,addcomment: MA} = require('../middleware/comment')
const {getCommentList:CG,addcomment: CA } = require('../controller/comment')

router.post('/comments', MA, CA)
router.get('/getComment', MG, CG)
module.exports=router
